home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Nave / Bomber Fortress.swf / scripts / DefineButton2_107 / BUTTONCONDACTION on(keyPress 1).as
Encoding:
Text File  |  2006-06-13  |  228 b   |  15 lines

  1. on(keyPress "1"){
  2.    if(eval("/:drop1") < "1")
  3.    {
  4.       tellTarget("/1")
  5.       {
  6.          gotoAndPlay(2);
  7.       }
  8.       set("/:drop1","1");
  9.    }
  10.    tellTarget("/display/hatch1")
  11.    {
  12.       gotoAndStop(2);
  13.    }
  14. }
  15.